﻿using Common;
using Common.DataModels;

namespace PLC.Domain.Entity;

public class CCDData:AggregateRoot
{
    public string Data { get; set; }
    public DateTime CreateTime { get;  set; }
    /// <summary>
    /// 是否删除
    /// </summary>
    public bool IsDelete { get;  set; }
    public CCDData  Build()
    {
        base.Id = SnowflakeHelper.GetId();
        this.IsDelete = false;
        this.CreateTime = DateTime.Now;
        return this;
    }
}